package org.senf.outerspace.app;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import org.senf.outerspace.galaxy.view.GalaxyView;
import org.senf.outerspace.ships.ui.ShipDesignView;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(false);
		layout.addView(GalaxyView.ID, IPageLayout.LEFT, 0.05f, layout.getEditorArea());
		layout.addView(ShipDesignView.ID, IPageLayout.LEFT, 0.25f, GalaxyView.ID);
	}
}
